package com.bdth.weget.home.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.bdth.weget.common.Pagination;
import com.bdth.weget.home.entity.Cars;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/7/9.
 */
public interface CarsService extends IService<Cars> {
    Page<Cars> listPages(Pagination pagination, Map<String, Object> query);

    Integer listTotal(Map<String, Object> query);

    boolean update(Cars bean);

    boolean save(Cars bean);

    boolean delete(Integer id);

    boolean remove(String ids);

    List<Cars> listAll();

    String getUserCars(Map<String, Object> query);

    String getUserCars(String departids);
}
